from django.conf.urls import url

from viewapp import views

urlpatterns = [
    url(r"^$", views.index, name='index'),
    url(r"^get_one2one$", views.get_one2one, name='get_one2one'),
    url(r"^get_one2may$", views.get_one2one, name='get_one2many'),
    url(r'^go_userinfo/$', views.go_user),
    url(r'^userinfo/$', views.add_userinfo, name="add_userinfo"),
    url(r'^cookies/$', views.add_cookie),
    url(r'^redirect/$', views.show),
    url(r'^js/(\d+)$', views.redirect_to, name="js"),
]
